* Table 1
import delimited "C:\Express Yourself_Data for JOP_final.csv"
* Table 1, Column 1
ologit vs_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve prog bluedog newdems demlead cmtechair topcmte if gop==0 & rank_speech~=. & rank_tweet~=., robust
* Table 1, Column 2
ologit vt_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve prog bluedog newdems demlead cmtechair topcmte if gop==0 & rank_speech~=. & rank_tweet~=., robust
* Table 1, Column 3
ologit vs_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve freedom rsc goplead cmtechair topcmte if dem==0 & rank_speech~=. & rank_tweet~=., robust
* Table 1, Column 4
ologit vt_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve freedom rsc goplead cmtechair topcmte if dem==0 & rank_speech~=. & rank_tweet~=., robust

* Appendices - Table A1
import delimited "C:\Express Yourself_Data for JOP_final.csv"
* Table A1, Column 1
fit vs_gap_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve prog bluedog newdems demlead cmtechair topcmte if gop==0 & rank_speech~=. & rank_tweet~=., robust
* Table A1, Column 2
fit vt_gap_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve prog bluedog newdems demlead cmtechair topcmte if gop==0 & rank_speech~=. & rank_tweet~=., robust
* Table A1, Column 3
fit vs_gap_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve freedom rsc goplead cmtechair topcmte if dem==0 & rank_speech~=. & rank_tweet~=., robust
* Table A1, Column 4
fit vt_gap_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve freedom rsc goplead cmtechair topcmte if dem==0 & rank_speech~=. & rank_tweet~=., robust
* Appendices - Table A2
import delimited "C:\FTL_JOP_TableA2_data_final.csv" 
* Table A2, Column 1
ologit vs_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve rsc freedom prog bluedog newdems goplead demlead cmtechair topcmte if gop==0, robust
* Table A2, Column 2
ologit vt_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve rsc freedom prog bluedog newdems goplead demlead cmtechair topcmte if gop==0, robust
* Table A2, Column 3
ologit vs_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve rsc freedom prog bluedog newdems goplead demlead cmtechair topcmte if gop==1, robust
* Table A2, Column 4
ologit vt_gapcat_invert female nonwhite number_of_house_terms rlvthouse trump16 suburban urban district_percent_white district_unemployment_rate probsolve rsc freedom prog bluedog newdems goplead demlead cmtechair topcmte if gop==1, robust

